﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nwrole.lib
{
    public enum Result
    {
        Success = 0,
        UnknownError = -1,

        // Services
        ServiceIdAlreadyExists = -101,
        ServiceFailedToStartManager = -102,
        ServiceIdUnavailable = -103,
        ServiceUnremovable = -104,
        ServiceNotFound = -105,

        // Plugins
        PluginIdAlreadyExists = -201,
        PluginIdUnavailable = -202,
        PluginNotFound = -202,

        // Solutions
        SolutionIdAlreadyExists = -301,
        SolutionIdUnavailable = -302,
        SolutionAlreadyDeployed = -303,
        SolutionAlreadyRetracted = -304,

        // Service manager
        InstanceAlreadyStarted = -401,
        InstanceUnavailable = -402,

        // Supervisors
        SupervisorNotFound = -501
    }
}
